﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhang.Model
{
    /// <summary>
    /// 排序类型
    /// </summary>
    public enum SequenceType
    {
        /// <summary>
        /// 升序
        /// </summary>
        Asc = 1,
        /// <summary>
        /// 降序
        /// </summary>
        Desc,
        /// <summary>
        /// 未知
        /// </summary>
        Unknow
    }

    /// <summary>
    /// 列表页排序
    /// </summary>
    public class Sequence
    {
        /// <summary>
        /// 排序类型
        /// </summary>
        public SequenceType SeqType = SequenceType.Unknow;

        /// <summary>
        /// 排序字段
        /// </summary>
        public string FieldName = string.Empty;

    }
}
